package com.advertising.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.advertising.permissions.model.Users;

public class Feedback implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id ;
	private Release aId;
	private Users userId;
	private Date endShowTime;
	private Date startShowTime;
	private String isclickadOwerLocURL;
	private String isclickadOwerName;
	private String isclickadOwerNetURL;
	private String isclicktelephoneNumber;
	private String isclickvideopaly;
	private String isgetmoreassess;
	private String assessEnd;
	private String isloadweberror;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "user_id")
	public Users getUserId() {
		return userId;
	}

	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "release_id")
	public Release getaId() {
		return aId;
	}

	@Column(name = "end_show_time")
	public Date getEndShowTime() {
		return endShowTime;
	}

	@Column(name = "start_show_time")
	public Date getStartShowTime() {
		return startShowTime;
	}

	@Column(name = "isclickad_ower_locurl", length = 50)
	public String getIsclickadOwerLocURL() {
		return isclickadOwerLocURL;
	}

	@Column(name = "isclickad_ower_name", length = 50)
	public String getIsclickadOwerName() {
		return isclickadOwerName;
	}

	@Column(name = "isclickad_ower_neturl", length = 50)
	public String getIsclickadOwerNetURL() {
		return isclickadOwerNetURL;
	}

	@Column(name = "isclicktelephone_number", length = 50)
	public String getIsclicktelephoneNumber() {
		return isclicktelephoneNumber;
	}

    @Column(name = "isclickvideopaly", length = 50)
	public String getIsclickvideopaly() {
		return isclickvideopaly;
	}

    @Column(name = "isgetmoreassess", length = 50)
	public String getIsgetmoreassess() {
		return isgetmoreassess;
	}

    @Column(name = "assess_end", length = 50)
	public String getAssessEnd() {
		return assessEnd;
	}

    @Column(name = "isloadweberror", length = 50)
	public String getIsloadweberror() {
		return isloadweberror;
	}

	
	
	
	


	public void setaId(Release aId) {
		this.aId = aId;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public void setUserId(Users userId) {
		this.userId = userId;
	}


	public void setEndShowTime(Date endShowTime) {
		this.endShowTime = endShowTime;
	}


	public void setStartShowTime(Date startShowTime) {
		this.startShowTime = startShowTime;
	}


	public void setIsclickadOwerLocURL(String isclickadOwerLocURL) {
		this.isclickadOwerLocURL = isclickadOwerLocURL;
	}


	public void setIsclickadOwerName(String isclickadOwerName) {
		this.isclickadOwerName = isclickadOwerName;
	}


	public void setIsclickadOwerNetURL(String isclickadOwerNetURL) {
		this.isclickadOwerNetURL = isclickadOwerNetURL;
	}


	public void setIsclicktelephoneNumber(String isclicktelephoneNumber) {
		this.isclicktelephoneNumber = isclicktelephoneNumber;
	}


	public void setIsclickvideopaly(String isclickvideopaly) {
		this.isclickvideopaly = isclickvideopaly;
	}


	public void setIsgetmoreassess(String isgetmoreassess) {
		this.isgetmoreassess = isgetmoreassess;
	}


	public void setAssessEnd(String assessEnd) {
		this.assessEnd = assessEnd;
	}


	public void setIsloadweberror(String isloadweberror) {
		this.isloadweberror = isloadweberror;
	}


	public Feedback() {
	 
}

}
